import type { BaseEntity } from './baseEntity.model'
export interface Blog extends BaseEntity {
  content: BlogData
}

export interface BlogData {
  id: string
  title: string
  subtitle: string
  content: string
  author: string
  publishDate: string
  readTime: number
  views: number
  tags: string[]
  coverImage: string
  prevPost?: { id: string; title: string }
  nextPost?: { id: string; title: string }
}
export interface TocItem {
  id: string
  text: string
  level: number
}
